<%--
  Created by IntelliJ IDEA.
  User: guo
  Date: 2018/1/3
  Time: 19:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>注册页面</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/registServlet" method="get" onsubmit="return checkForm()">
    <tr>
        <td>用户名</td>
        <td><input name="username" type="text" id="username" onblur="checkUsername()"></td><span id="msg"></span>
        <span style="color: red"></span>
    </tr><br>
    <tr>
        <td>密码</td>
        <td><input name="password" id="password" type="password"></td>
    </tr><br>
    <tr>
        <td>确认密码</td>
        <td><input name="confirmpassword" id="repassword" type="password"  onblur="checkPassword()"></td><span id="passwordMsg"></span>
        <span style="color: red;"></span>
    </tr><br>
    <tr>
        <td>邮箱</td>
        <td><input name="email" id="email" type="text" onblur="checkEmail()"></td><span id="emailMsg"></span>
<span style="color: red;"></span>
    </tr><br>
    <tr>
        <td>手机号</td>
        <td><input name="phone" id="phone" type="text" onblur="checkPhone()"></td><span id="telphone"></span>
        <span style="color:red;"></span>
    </tr><br>
    <tr>
        <td>地址</td>
        <td><input id="address" name="address" type="text"></td>
    </tr><br>
    <input type="submit" value="提交">
</form>
</body>
</html>
